@import '../common/icons.scss';
@import '../common/font-size.scss';
@import '../common/color.scss';
@import '../common/nav.scss';
@import '../common/cate-product-list.scss';

html {
    font-size: 26.666667vw;
}

#app {
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.container {
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    border: 1px solid #DDDDDE;
}

header {
    width: 100%;
    // height: .6rem;
}

// header a, header img{
//     display: inline-block;
//     width: 100%;
//     height: 100%;
// }
main {
    flex: 1;
    width: 100%;
    background: #f4f4f8;
    overflow: hidden;
}
.search {
    width: 100%;
    height: .6rem;
    line-height: .6rem;
    display: flex;
    align-items: center;
    padding: 0 .1rem 0 .2rem;
    background: #fff;

    &>a {
        flex: 1;
        display: block;
        background: #eee;
        height: .3rem;
        line-height: .3rem;
        position: relative;
        border-radius: .06rem;
    }

    &>a>img {
        width: .22rem;
        height: .22rem;
        position: absolute;
        top: .04rem;
        left: .36rem;
    }

    &>a>i {
        padding: 0 .1rem;
    }

    &>a>span {
        margin-left: .3rem;
        color: #333;
    }

    &>span {
        width: .4rem;
        display: inline-block;
        text-align: center;

        img {
            width: 100%;
        }
    }
}

.banner {
    width: 100%;
    height: 0px;
    margin-bottom: 38.5%;

    & ul {
        width: 100%;
        display: flex;
        overflow: scroll;
        flex-direction: row;
    }

    & ul li {
        width: 100%;
        flex-shrink: 0;
        // height: 80px;
    }

    & ul li img {
        width: 100%;
        // height: 100%;
    }

    .swiper-container {
        width: 100%;

        .swiper-wrapper {
            width: 100%;

            img {
                width: 100%;
            }
        }
    }
}

.nav-img {
    width: 100%;
    display: flex;
    flex-direction: row;
    background: #fff;

    &>div {
        flex: 1;
        text-align: center;
    }

    &>div img {
        width: 100%;
    }
}

.fast-link {
    background: #F3F3F7;
    display: flex;

    .f-left,
    .f-right {
        width: 50%;

        img {
            width: 100%;
        }
    }
}

.promotion {
    width: 100%;

    img {
        width: 100%;
    }
}

.koubei {
    width: 100%;

    img {
        width: 100%;
    }
}

.list {
    width: 100%;
    // display: flex;
    // padding: 0 10px;
    margin-top: 10px;
    background: #fff;
}

.list {
    width: 100%;
}
.list-nav {
    width: 100%;
    height: .44rem;
    line-height: .44rem;
    background: white;
    span {
        margin: 0 .05rem;
        display: inline-block;
        font-size: .16rem;
        color:#333333;

        &.active {
            border-bottom: .02rem solid $base-color-highlight;
            color: $base-color-highlight;

        }
    }
}
// #products-container{
//     // height: 200px;
// }

#top-menu{
    position:fixed;
    top: 0;
    width: 100%;
    display: none;
}